﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-8-12
Description:RoomList三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class RoomListManager
	{
		public static int AddRoomList(RoomList roomList)
		{
			return RoomListService.AddRoomList(roomList);
		}
		public static int DeleteRoomListByid(long id)
		{
			return RoomListService.DeleteRoomListById(id);
		}
		
		public static int ModifyRoomListByid(RoomList roomList)
		{
			return RoomListService.ModifyRoomListByid(roomList);
		}
		
		
		public static IList<RoomList> GetAllRoomLists()
		{
			return RoomListService.GetAllRoomLists();
		}
		public static RoomList GetRoomListByid(long id)
		{
			return RoomListService.GetRoomListByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<RoomList> ShowRoomListForPage(int curragePage,int NUMCount)
		{
			return 	RoomListService.ShowRoomListForPage(curragePage,NUMCount);
		}
	}
}
